package com.edu.gcu.system.pojo;

import java.util.Date;

public class Admin {
    private String id;

    private String username;

    private String password;

    private Date loginTime;

    private String name;

    private Date updateTime;

    public Admin(String id, String username, String password, Date loginTime, String name, Date updateTime) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.loginTime = loginTime;
        this.name = name;
        this.updateTime = updateTime;
    }

    public Admin() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}